package cn.mylearn.eduorder.client;

import cn.mylearn.commonutils.ordervo.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient(name = "service-ucenter")
public interface ServiceUcenterClient {
    //根据用户id查询用户信息
    @PostMapping("/educenter/member/getMemberInfoById/{memberId}")
    public UcenterMemberOrder getMemberInfoById2(@PathVariable("memberId") String memberId);
}
